/*

package com.chongchong.log.feign;

import ILogClient;
import LogApi;
import LogError;
import LogUsual;
import R;
import ILogApiService;
import ILogErrorService;
import ILogUsualService;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.RestController;

*/
/**
 * 日志服务Feign实现类
 *
 * @author
 *//*

@RestController
@AllArgsConstructor
public class LogClient implements ILogClient {

	ILogUsualService usualLogService;

	ILogApiService apiLogService;

	ILogErrorService errorLogService;

	@Override
	//@PostMapping(API_PREFIX + "/saveUsualLog")
	public R<Boolean> saveUsualLog( LogUsual log) {
		log.setParams(log.getParams().replace("&amp;", "&"));
		return R.data(usualLogService.save(log));
	}

	@Override
	//@PostMapping(API_PREFIX + "/saveApiLog")
	public R<Boolean> saveApiLog( LogApi log) {
		log.setParams(log.getParams().replace("&amp;", "&"));
		return R.data(apiLogService.save(log));
	}

	@Override
	//@PostMapping(API_PREFIX + "/saveErrorLog")
	public R<Boolean> saveErrorLog( LogError log) {
		log.setParams(log.getParams().replace("&amp;", "&"));
		return R.data(errorLogService.save(log));
	}
}
*/
